def call(projectName){

    def project = [
        'platform' : [
            'remoteHost' : '192.168.9.40',
            'remoteUser' : 'root',
            'remoteDir' : '/home/yd_iot_center/iot-center-platform-1.0.0/',
            'backupFormat' : '_bak' + new Date().format('yyyyMMdd')
        ],
        'accessvideo' : [
            'remoteHost' : '192.168.9.40',
            'remoteUser' : 'root',
            'remoteDir' : '/home/yd_iot_center/iot-center-accessvideo-1.0.0/',
            'backupFormat' : '_bak' + new Date().format('yyyyMMdd')
        ],
        'logs' : [
            'remoteHost' : '192.168.9.40',
            'remoteUser' : 'root',
            'remoteDir' : '/home/yd_iot_center/iot-center-share-1.0.0/',
            'backupFormat' : '_bak' + new Date().format('yyyyMMdd')
        ],
        'manager' : [
            'remoteHost' : '192.168.9.40',
            'remoteUser' : 'root',
            'remoteDir' : '/home/yd_iot_center/iot-center-manager-1.0.0/',
            'backupFormat' : '_bak' + new Date().format('yyyyMMdd')
        ],
        'accessudp' : [
            'remoteHost' : '192.168.9.40',
            'remoteUser' : 'root',
            'remoteDir' : '/home/yd_iot_center/iot-center-accessudp-1.0.0/',
            'backupFormat' : '_bak' + new Date().format('yyyyMMdd')
        ],
        'web' : [
            'remoteHost' : '192.168.9.40',
            'remoteUser' : 'root',
            'remoteDir' : '/home/yd_iot_center/iotCenter-web/',
            'backupFormat' : '_bak' + new Date().format('yyyyMMdd')
        ],
        'accessrobot' : [
            'remoteHost' : '192.168.9.40',
            'remoteUser' : 'root',
            'remoteDir' : '/home/yd_iot_center/iot-center-accessrobot-1.0.0/',
            'backupFormat' : '_bak' + new Date().format('yyyyMMdd')
        ],
        'accesstcp' : [
            'remoteHost' : '192.168.9.40',
            'remoteUser' : 'root',
            'remoteDir' : '/home/yd_iot_center/iot-center-accesstcp-1.0.0',
            'backupFormat' : '_bak' + new Date().format('yyyyMMdd')
        ],
        'accessvqd' : [
            'remoteHost' : '192.168.9.40',
            'remoteUser' : 'root',
            'remoteDir' : '/home/yd_iot_center/iot-center-accessvqd-1.0.0',
            'backupFormat' : '_bak' + new Date().format('yyyyMMdd')
        ],
        'gateway' : [
            'remoteHost' : '192.168.9.40',
            'remoteUser' : 'root',
            'remoteDir' : '/home/yd_iot_center/iot-center-gateway-1.0.0',
            'backupFormat' : '_bak' + new Date().format('yyyyMMdd')
        ],
        'dataCenter' : [
            'remoteHost' : '192.168.9.25',
            'remoteUser' : 'root',
            'remoteDir' : '/usr/tomcat-8080-DataCenter/webapps/',
            'restartScript' : '/usr/tomcat.sh restart dataCenter',
            'backupFormat' : ''
        ],
        'front' : [
            'remoteHost' : '192.168.9.25',
            'remoteUser' : 'root',
            'remoteDir' : '/usr/tomcat-8088-Front/webapps/',
            'restartScript' : '/usr/tomcat.sh restart front',
            'backupFormat' : ''
        ],
        'RtmpServer' : [
            'remoteHost' : '192.168.9.25',
            'remoteUser' : 'root',
            'remoteDir' : '/usr/tomcat-18080-RtmpServer/webapps/',
            'restartScript' : '/usr/tomcat.sh restart RtmpServer',
            'backupFormat' : ''
        ],
        'FastServer' : [
            'remoteHost' : '192.168.9.25',
            'remoteUser' : 'root',
            'remoteDir' : '/usr/tomcat-8090-FastDfs/webapps',
            'restartScript' : '/usr/tomcat.sh restart FastServer',
            'backupFormat' : ''
        ],
        'Balancer' : [
            'remoteHost' : '192.168.9.25',
            'remoteUser' : 'root',
            'remoteDir' : '/usr/tomcat-8090-FastDfs/webapps',
            'restartScript' : '/usr/tomcat.sh restart Balancer',
            'backupFormat' : ''
        ]
    ]

    return project.get(projectName)

}